let http = require('http')

let client = http.request({
  host:'127.0.0.1',
  port:3000,
  path:'/xxx?a=1',
  method:'post',
  headers:{
    a:1,
    'Content-Type':'application/x-www-form-urlencoded'
  }
},(res)=>{
  res.on('data',(data)=>{
    console.log(JSON.parse(data))
  })
})

client.end('name=zhaobo&a=1')
